﻿using Domain.Base;
using DtoFw.Enum;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Domain.Entity
{
    /// <summary>
    /// 案件附件
    /// </summary>
    [SugarTable("case_attachfile")]
    [DB(EnumDatabase.Mysql, Cache = false)]
    public class CaseAttachFileEntity : BaseEntity
    {
        /// <summary>
        /// 文件名
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 扩展名
        /// </summary>
        public string Ext { get; set; }
        /// <summary>
        /// 案件id
        /// </summary>
        public long CaseId { get; set; }
        /// <summary>
        /// 档案Id
        /// </summary>
        public long EvidenceId { get; set; }
        /// <summary>
        /// 文件路径
        /// </summary>
        public string Path { get; set; }
        /// <summary>
        /// 文件大小
        /// </summary>
        public long Size { get; set; }
        [SqlSugar.SugarColumn(IsIgnore = true)]
        /// <summary>
        /// 物品名称
        /// </summary>
        public string EviName { get; set; }
        [SqlSugar.SugarColumn(IsIgnore = true)]
        /// <summary>
        /// 物品编号
        /// </summary>
        public string EviNo { get; set; }

        public DateTime CreateTime { get; set; }
    }
}
